#ifndef RINGDISCONNECT_H_
#define RINGDISCONNECT_H_
/*********************************************************/
class nsMsg;

#include "nsMsg.h"
#include <Poco/DOM/NodeIterator.h>
#include <string>
/*********************************************************/
class RingDisconnect : public nsMsg
{
private:
	// Friend classes
	friend class nsMsg;

	// Variables
	std::string	ringName;

	// Methods
	void deserialize(Poco::XML::NodeIterator&);	// Deserializes an execute job

protected:
public:
	// Control Methods
	virtual std::string serialize() const;		// Serialize the job to an xml string
	virtual void execute();				// Execute the job
	void setName(const std::string&);		// Sets the ring name the message will carry
	std::string getName() const;			// Returns the ring name the message carried

	// Construction & Destruction
	RingDisconnect() {};
	~RingDisconnect() {};
};
/*********************************************************/
#endif // RINGDISCONNECT_H_
